package hlhj.fhp.checkpoint.utils

import com.bumptech.glide.request.RequestOptions
import hlhj.fhp.checkpoint.R

/**
 * Created by Never Fear   on 2018\11\14 0014.
Never More....
 */
object GlideUtils {
    fun loadHeadOption(): RequestOptions? {
        val requestOptions = RequestOptions()
        return requestOptions
                .error(R.drawable.img_tx)
                .placeholder(R.drawable.img_tx)

    }

    fun loadBannerOption(): RequestOptions? {
        val requestOptions = RequestOptions()
       return requestOptions.error(R.drawable.banner)

    }
}